.. _config_cluster_manager: Cluster manager =============== .. toctree:: :hidden: cluster sds sds_api outlier cds Cluster manager :ref:`architecture overview `. .. code-block:: json { "clusters": [], "sds": "{...}", "local_cluster_name": "...", "outlier_detection": "{...}", "cds": "{...}" } .. _config_cluster_manager_clusters: :ref:`clusters ` *(required, array)* A list of upstream clusters that the cluster manager performs :ref:`service discovery `, :ref:`health checking `, and :ref:`load balancing ` on. :ref:`sds ` *(sometimes required, object)* If any defined clusters use the :ref:`sds ` cluster type, a global SDS configuration must be specified. .. _config_cluster_manager_local_cluster_name: local_cluster_name *(optional, string)* Name of the local cluster (i.e., the cluster that owns the Envoy running this configuration). In order to enable :ref:`zone aware routing ` this option must be set. If *local_cluster_name* is defined then :ref:`clusters ` must contain a definition of a cluster with the same name. :ref:`outlier_detection ` *(optional, object)* Optional global configuration for outlier detection. :ref:`cds ` *(optional, object)* Optional configuration for the cluster discovery service (CDS) API. Statistics ---------- The cluster manager has a statistics tree rooted at *cluster_manager.* with the following statistics. Any ``:`` character in the stats name is replaced with ``_``. .. csv-table:: :header: Name, Type, Description :widths: 1, 1, 2 cluster_added, Counter, Total clusters added (either via static config or CDS) cluster_modified, Counter, Total clusters modified (via CDS) cluster_removed, Counter, Total clusters removed (via CDS) total_clusters, Gauge, Number of currently loaded clusters